﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/General.Master" AutoEventWireup="true" CodeBehind="FBLogon.aspx.cs" Inherits="PB.FBMembershipWebApp.Gen.FBLogon" %>
<%@ MasterType VirtualPath="~/Masters/General.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <h2>Login</h2>
    <p>Welcome to Facebook Membership Provider. Login using your facebook credentials. This site illustrates usage of Facebook Connect in an ASP.Net web application by extending Membership Provider service.</p>
    <br />
    <p>Facebook Connect is a powerful set of APIs for developers that lets users bring their identity and connections everywhere. Using Facebook connect can access a user's Idnetity(name, photos etc), Social Graph(friends and connections) and Stream(ctivity, distribution, and integration points within Facebook, like stream stories and Publishers)</p>
    <br />
    <p style="text-align:center">
    <asp:LoginView ID="LoginView1" runat="server">
        <AnonymousTemplate>
            <div style="text-align:center">
                <p>Login using Facebook:</p>
                <div id="LoginDiv" runat="server"></div>                
            </div>
        </AnonymousTemplate>
        <LoggedInTemplate>
            <p>Loged in</p>
        </LoggedInTemplate>
    </asp:LoginView>
    </p>
    <div id="aa" runat="server"></div>
</asp:Content>
